# -*- coding: utf-8 -*-
"""
Created on December 5th 2023

@author: Oliver Wieczorek

This script creates the folders necessary for data preparation and
To replicate the calculations for the article titled
Exploring an extinct society through the lens of Habitus-Field theory and
the Tocharian text corpus

by Oliver Wieczorek and Melanie Malzahn
"""

##load files
import re


## exchange the root folder to a location that suits your purposes
root = "~"
path = root + "tarim-brahmi_database\\"
dictionaries = path + "dictionaries\\"
fragments = path + "fragments\\"
word_output_data = root + "word_corpus_data\\"
architectural_data = root + "Architectural_terms"
regional_data = root + "regional_data\\"
output = root + "mca_ready_data\\"

try:
    os.makedirs(path)
    os.makedirs(dictionaries)
    os.makedirs(fragments)
    os.makedirs(word_output_data)
    os.makedirs(architectural_data)
    os.makedirs(regional_data)
    os.makedirs(output)

